import request from '@/utils/request'

export const loginApi = (data) => request({
  method: 'POST',
  url: '/user-service/user/login',
  data
})
export const imgApi = (params) => request({
  method: 'get',
  url: `/user-service/user/imageCode/${params}`,
  responseType: 'blob'
})
